package com.cloud.flowable.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import com.cloud.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "表单配置", description = "流程管理")
@TableName("wf_form")
public class WfForm extends BaseEntity {

    @TableId(type = IdType.AUTO)
    @Schema(description = "表单主键")
    private Long formId;

    @Excel(name = "表单名称", width = 15)
    @Schema(description = "表单名称")
    private String formName;

    @Excel(name = "表单内容", width = 15)
    @Schema(description = "表单内容")
    private String content;

    @Excel(name = "电脑端表单路由", width = 15)
    @Schema(description = "电脑端表单路由")
    private String pcPath;

    @Excel(name = "移动端表单路由", width = 15)
    @Schema(description = "移动端表单路由")
    private String appPath;

    @Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "逻辑删除 0未删除 1.删除")
    @TableField(value = "deleted", fill = FieldFill.INSERT)
    private Integer deleted;

}
